package com.wl.api.model.system;

import java.io.Serializable;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 *
 * type =1,国际渠道，2国内渠道
 *
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "security_channel")
@Builder
public class SecurityChannel implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/** 编号 */
	@TableId(type = IdType.AUTO)
	private Long id;

	/** 渠道名称 */
	private String name;
	
	@TableField(value="logo_img")
	private String logoImg;
	
	@TableField("channel_desc")
	private String channelDesc;
	
	@TableField("cost_time_from")
	private Integer costTimeFrom;
	
	@TableField("cost_time_to")
	private Integer costTimeTo;
	
	/**
	 * 0:待上线,1:已发布,2:下架
	 */
	private Integer status;

	/** 渠道类型1国际2国内 */
	private Integer type;

	/** 备注 */
	private String remark;
	
	@TableField(value ="update_user_id")
	private Long updateUserId;
	
	@TableField(value = "update_time")
	private Date updateTime;
	
	@TableField("update_user")
	private String updateUser;
}
